package cn.t.enums.device;


import cn.t.core.enums.Enumer;
import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author l
 */
@Enumer
@Getter
@AllArgsConstructor
public enum SizeEnum implements CommonEnum<String, String> {

    SIZE_L("L", "L"),
    SIZE_M("M", "M"),
    SIZE_S("S", "S");

    @JsonValue
    @EnumValue
    private final String code;
    private final String name;
}